package com.scott.crm.delay.dao;


import com.scott.crm.delay.bean.DelayBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface DelayDao extends BaseMapper<DelayBean> {



    int deleteDelayRecord(@Param("ids") List<Integer> ids);

    List<DelayBean> findAllDelayRecord(DelayBean delayBean);

    List<DelayBean> findDelayRecord(@Param("delayBean")DelayBean delayBean, @Param("begin") Integer begin, @Param("end") Integer end);

    List<DelayBean> findAllGroup(DelayBean delayBean);

}
